Keysight VISA.NET Help
ReadLineBinaryBlockOfSByte(SByte[],Int64,Boolean) Method



An array of signed bytes allocated by the calling program.
The index in the output data array where the first element is stored.
If true and the method is reading an IEEE-488.2 block, it initially reads and discards characters until it finds the beginning of an IEEE-488.2 block. Otherwise it expects to find the block or array immediately.
Read an array of signed bytes from the formatted I/O read buffer and store the elements into data starting at index. Then read and discard characters up to and including the next newline character.
Syntax
'Declaration
 
Overloads Function ReadLineBinaryBlockOfSByte( _
   ByVal data() As SByte, _
   ByVal index As Long, _
   ByVal seekToBlock As Boolean _
) As Long
'Usage
 
Dim instance As IMessageBasedFormattedIO
Dim data() As SByte
Dim index As Long
Dim seekToBlock As Boolean
Dim value As Long
 
value = instance.ReadLineBinaryBlockOfSByte(data, index, seekToBlock)
long ReadLineBinaryBlockOfSByte( 
   sbyte[] data,
   long index,
   bool seekToBlock
)
int64 ReadLineBinaryBlockOfSByte( 
   array<sbyte>^ data,
   int64 index,
   bool seekToBlock
) 

Parameters

data
An array of signed bytes allocated by the calling program.
index
The index in the output data array where the first element is stored.
seekToBlock
If true and the method is reading an IEEE-488.2 block, it initially reads and discards characters until it finds the beginning of an IEEE-488.2 block. Otherwise it expects to find the block or array immediately.

Return Value

The actual number of elements stored the output data array.
Requirements

Current with Keysight IO Libraries Suite 18

See Also

 

 


© Keysight Technologies 2015-2025